#pragma once
#include "../core.h"
#include "../../preimage.h"

namespace roto
{ 
	namespace type
	{
		const int ARITHMETIC = 1;
		const int GEOMETRICAL = 2;
		const int HARMONIOUS = 3;
		const int COUNTERHARMONIOUS = 4;
		const int MEDIAN = 5;
	}

	namespace average
	{
		uchar* averaging(uchar* F, uint width, uint height, int m, int n, const int type, float Q = .0f);
	}
}